package priv.yiyuan.example.design.visitor;

/**
 * CRM 系统数据
 *
 * @author YiYuan
 * @data 2025/7/30
 * @apoNote
 */
public class CrmCustomerData implements SystemData {

    private String customerId;

    private String name;

    private String email;

    public CrmCustomerData(String customerId, String name, String email) {
        this.customerId = customerId;
        this.name = name;
        this.email = email;
    }

    public String getCustomerId() {
        return customerId;
    }

    public String getName() {
        return name;
    }

    public String getEmail() {
        return email;
    }

    @Override
    public void accept(DataSyncVisitor visitor) {
        visitor.visit(this);
    }
}
